import http from "@/api";
import { PORT1 } from "../config/servicePort";

// 获取 macd
export const homeFindMacd = (params: any) => {
  return http.post(PORT1 + `/home/findMacd`, params);
};

// 根据股票代码查询最近k线数据
export const homeFindHistoryK = (params: any) => {
  return http.get(PORT1 + `/code/findHistoryK`, params);
};

// 获取符合条件的股票代码
export const tapePurchaseHistoryFindTapePurchase = () => {
  return http.get(PORT1 + `/tapePurchaseHistory/findTapePurchase`);
};
